package com.laoxiang.modules.system.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author db
 * @version 1.0
 * @description DeptTreeVO
 * @since 2023/9/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class DeptTreeVO {
    /** 节点ID */
    private Long id;

    /** 部门名称 */
    private String deptName;

    private Long parentId;

    /** 子节点 */
    private List<DeptTreeVO> children;
}
